﻿using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;

namespace NF_Tools
{
    public partial class BF_ActiveIntroduce : UserControl
    {
        public delegate void SignEventHandle(object sender, EventArgs e);

        private string imgurl;
        private string txtintroduce;


        public BF_ActiveIntroduce()
        {
            InitializeComponent();
        }


        [Browsable(true), Category("自定义属性"), Description("图片")]
        public string ImgUrl
        {
            get { return imgurl; }
            set
            {
                imgurl = value;
                picImgurl.ImageLocation = value;
                picImgurl.SizeMode = PictureBoxSizeMode.StretchImage;
            }
        }


        [Browsable(true), Category("自定义属性"), Description("文字说明")]
        public string TxtIntroduce
        {
            get { return txtintroduce; }
            set
            {
                txtintroduce = value;
                this.lblIntroduce.Text = value;

            }
        }


    }
}